import Vue from "vue";
import App from "./App.vue";
import router from "@/utils/routerGurad";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "@/assets/style/common.less";
//第一种
import "@/assets/iconfont/iconfont.js";
import "@/assets/style/iconfont.css";
//第二种
import "@/assets/iconfont/iconfont.css";

import qfSubMenu from "qf-sub-menu"

// import "@/router/generateRoute"

//使用Vue.use()将组件注入到所有的子组件
Vue.use(qfSubMenu)
// Vue.config.productionTip = false;
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
